﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddEdit.aspx.cs" Inherits="CardLogistics.Web.MainPage.Basic.SalesOutlet.AddEdit" %>
<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav"
    TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>销销机构/网点</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../../js/valReq.js" type="text/javascript"></script>
     <script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        function valReq() {
            var altStr = valid_isempty('SALESOUTLET_CODE', '编号');
            altStr += valid_isempty('SALESOUTLET_NAME', '名称');
            if (altStr != "") {
                alert(altStr);
                return false;
            }
            else {
                return true;
            }
        }
    </script>
</head>
<body>
    <form id="Form1" runat="server">
    <uc1:WebUserControl_Nav ID="WebUserControl_Nav1"  runat="server" />
    <table class="theForm" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
            <td class="titleTxt">
                编号：
            </td>
            <td class="contentTxt">
                <input id="Salesoutlet_code" runat="server" type="text" class="dfinputNoEmp" maxlength="25" onkeydown="onlyNum();"/>
            </td>
            <td class="titleTxt">
                名称：
            </td>
           <td class="contentTxt">
                <input id="Salesoutlet_name" runat="server" type="text" class="dfinputNoEmp" maxlength="25"  />
            </td>
        </tr>
        <tr>
            <td class="titleTxt">
                领取卡片单位名称：
            </td>
            <td class="contentTxt">
                <asp:DropDownList ID="Salesinfoid" runat="server" CssClass="dfinput">
                </asp:DropDownList>
            </td>
            <td class="titleTxt">
                代理业务功能：
            </td>
            <td class="contentTxt">
                <input id="Operationfunction" runat="server" type="text" class="dfinput" maxlength="12"/>
            </td>
        </tr>
        <tr>
        <td class="titleTxt">开始代理日期：</td>
        <td>
        <asp:TextBox ID="Startdate" runat="server" CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                    Width="100px"></asp:TextBox>
          </td>     
        <td class="titleTxt">结束代理日期：</td>
        <td>
         <asp:TextBox ID="Enddate" runat="server" CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                    Width="100px"></asp:TextBox>
        </td>
        
        </tr>
        <tr>
            <td class="titleTxt">
                联系地址：
            </td>
            <td class="contentTxt">
                <input id="Address" runat="server" type="text" class="dfinput"  maxlength="25" />
            </td>
            <td class="titleTxt">
                联系电话：
            </td>
            <td class="contentTxt">
                <input id="Tel" runat="server" type="text" class="dfinput" maxlength="25" />
            </td>
        </tr>
        <tr>
            <td class="titleTxt">
                邮政编码：
            </td>
            <td class="contentTxt">
                <input id="Zip" runat="server" type="text" class="dfinput" maxlength="25"  />
            </td>
            <td class="titleTxt">
                状态：
            </td>
            <td>
                <input id="Status" type="checkbox" runat="server" style="vertical-align: middle;" />
                <label for="Status" style="vertical-align: middle;">
                    禁用</label>
                <label style="vertical-align: middle; color: red;">
                    注意：禁用后，将不可用。</label>
            </td>
        </tr>
        <tr>
            <td class="titleTxt">
                备注：
            </td>
            <td colspan="3">
                 <input id="Salesoutlet_remak" runat="server" type="text" class="dfinput" maxlength="200" style="width:90%" />
            </td>
        </tr>
        <tr>
            <td colspan="4" align="center">
                <asp:Button ID="btn_Add" CssClass="btn" runat="server" Text="保存" OnClientClick="return valReq();"
                    OnClick="btn_Add_Click" />
                <input type="button" class="btn" value="返回" onclick="javascript:history.go(-1);" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
